package com.jyb.model;

import java.util.List;

import com.jfinal.plugin.activerecord.Model;

public class DicNode extends Model<DicNode>{

	private static final long serialVersionUID = 936670753294797323L;
	public static final DicNode dao = new DicNode();
	
	public List<DicNode> getDicNodes(){
		return DicNode.dao.find("select * from t_dic_node t where t.parent_id=?",get("id"));
	}
}
